package client.tablete.buttons;

import android.view.View;
import android.view.View.OnClickListener;
import client.tablete.workspace.CommunicationActivity;

public class TimeButtonListener  implements OnClickListener{

	private CommunicationActivity commA;
	String time;
	
	public TimeButtonListener(CommunicationActivity commA, String startTime, String endTime){
		this.commA = commA;
		this.time = startTime + " - " + endTime;
	}
	
	@Override
	public void onClick(View v) {
		commA.showData(time);
	}

}
